package teleinfo

const (
	DomainCreated    string = "domaincreate"
	DomainUpdated    string = "domainupdate"
	DomainDeleted    string = "domaindelete"
	DomainTransfered string = "domaintransfer"

	ContactCreated string = "contactcreate"
	ContactUpdated string = "contactupdate"
	ContactDeleted string = "contactdelete"
)

type Report struct {
	CommandType string
	Item        string
}

func ReportFactory(commandType, name string) (*Report, error) {
	return &Report{commandType, name}, nil
}

func NewDomainCreatedReport(name string) *Report {
	return &Report{"domaincreate", name}
}
